package com.itshidu.jiaowu.service.impl;

import com.itshidu.jiaowu.service.OutService;
import com.itshidu.jiaowu.util.Result;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpSession;

@Primary
@Service
public class OutServiceImpl implements OutService {
    @Override
    public Object out(HttpSession session ) {

        session.invalidate();

        return null ;
    }
}
